package com.beiing.tianshuai.tianshuai.interest.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Jinni on 2017/11/19 0019
 */

public class InterestBean {

    /**
     * code : 200
     * data : {"type":[{"id":"1","name":"精选","create_time":"1510630611"},{"id":"2","name":"舞蹈","create_time":"1510630612"},{"id":"3","name":"科学","create_time":"1510630613"},{"id":"4","name":"奇趣","create_time":"1510630614"},{"id":"5","name":"生活","create_time":"1510630615"},{"id":"6","name":"新闻","create_time":"1510630616"}],"video":[{"id":"6","uid":"572","tid":"2","title":"234","keys":null,"content":"234sdf","url":"http://gslb.miaopai.com/stream/ed5HCfnhovu3tyIQAiv60Q__.mp4","cover":"http://a4.att.hudong.com/05/71/01300000057455120185716259013.jpg","status":"0","view":"0","comment":"0","create_time":"0","name":"李启连","photo":"59da28d5dd603.jpg","praise":0,"to_uid":0,"typename":"舞蹈"},{"id":"7","uid":"572","tid":"2","title":"rqwe","keys":null,"content":"asdas","url":"http://gslb.miaopai.com/stream/ed5HCfnhovu3tyIQAiv60Q__.mp4","cover":"http://a4.att.hudong.com/05/71/01300000057455120185716259013.jpg","status":"0","view":"0","comment":"0","create_time":"0","name":"李启连","photo":"59da28d5dd603.jpg","praise":0,"to_uid":0,"typename":"舞蹈"},{"id":"10","uid":"572","tid":"2","title":"asdg","keys":null,"content":"asd","url":"http://gslb.miaopai.com/stream/ed5HCfnhovu3tyIQAiv60Q__.mp4","cover":"http://a4.att.hudong.com/05/71/01300000057455120185716259013.jpg","status":"0","view":"0","comment":"0","create_time":"0","name":"李启连","photo":"59da28d5dd603.jpg","praise":0,"to_uid":0,"typename":"舞蹈"}],"number":"数据获取失败"}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * type : [{"id":"1","name":"精选","create_time":"1510630611"},{"id":"2","name":"舞蹈","create_time":"1510630612"},{"id":"3","name":"科学","create_time":"1510630613"},{"id":"4","name":"奇趣","create_time":"1510630614"},{"id":"5","name":"生活","create_time":"1510630615"},{"id":"6","name":"新闻","create_time":"1510630616"}]
         * video : [{"id":"6","uid":"572","tid":"2","title":"234","keys":null,"content":"234sdf","url":"http://gslb.miaopai.com/stream/ed5HCfnhovu3tyIQAiv60Q__.mp4","cover":"http://a4.att.hudong.com/05/71/01300000057455120185716259013.jpg","status":"0","view":"0","comment":"0","create_time":"0","name":"李启连","photo":"59da28d5dd603.jpg","praise":0,"to_uid":0,"typename":"舞蹈"},{"id":"7","uid":"572","tid":"2","title":"rqwe","keys":null,"content":"asdas","url":"http://gslb.miaopai.com/stream/ed5HCfnhovu3tyIQAiv60Q__.mp4","cover":"http://a4.att.hudong.com/05/71/01300000057455120185716259013.jpg","status":"0","view":"0","comment":"0","create_time":"0","name":"李启连","photo":"59da28d5dd603.jpg","praise":0,"to_uid":0,"typename":"舞蹈"},{"id":"10","uid":"572","tid":"2","title":"asdg","keys":null,"content":"asd","url":"http://gslb.miaopai.com/stream/ed5HCfnhovu3tyIQAiv60Q__.mp4","cover":"http://a4.att.hudong.com/05/71/01300000057455120185716259013.jpg","status":"0","view":"0","comment":"0","create_time":"0","name":"李启连","photo":"59da28d5dd603.jpg","praise":0,"to_uid":0,"typename":"舞蹈"}]
         * number : 数据获取失败
         */

        @SerializedName("number")
        private String number;
        @SerializedName("type")
        private List<TypeBean> type;
        @SerializedName("video")
        private List<VideoBean> video;

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public List<TypeBean> getType() {
            return type;
        }

        public void setType(List<TypeBean> type) {
            this.type = type;
        }

        public List<VideoBean> getVideo() {
            return video;
        }

        public void setVideo(List<VideoBean> video) {
            this.video = video;
        }

        public static class TypeBean {
            /**
             * id : 1
             * name : 精选
             * create_time : 1510630611
             */

            @SerializedName("id")
            private String id;
            @SerializedName("name")
            private String name;
            @SerializedName("create_time")
            private String createTime;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }
        }

        public static class VideoBean {
            /**
             * id : 6
             * uid : 572
             * tid : 2
             * title : 234
             * keys : null
             * content : 234sdf
             * url : http://gslb.miaopai.com/stream/ed5HCfnhovu3tyIQAiv60Q__.mp4
             * cover : http://a4.att.hudong.com/05/71/01300000057455120185716259013.jpg
             * status : 0
             * view : 0
             * comment : 0
             * create_time : 0
             * name : 李启连
             * photo : 59da28d5dd603.jpg
             * praise : 0
             * to_uid : 0
             * typename : 舞蹈
             */

            @SerializedName("id")
            private String id;
            @SerializedName("uid")
            private String uid;
            @SerializedName("tid")
            private String tid;
            @SerializedName("title")
            private String title;
            @SerializedName("keys")
            private Object keys;
            @SerializedName("content")
            private String content;
            @SerializedName("url")
            private String url;
            @SerializedName("cover")
            private String cover;
            @SerializedName("status")
            private String status;
            @SerializedName("view")
            private String view;
            @SerializedName("comment")
            private String comment;
            @SerializedName("create_time")
            private String createTime;
            @SerializedName("name")
            private String name;
            @SerializedName("photo")
            private String photo;
            @SerializedName("praise")
            private int praise;
            @SerializedName("to_uid")
            private int toUid;
            @SerializedName("typename")
            private String typename;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getTid() {
                return tid;
            }

            public void setTid(String tid) {
                this.tid = tid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Object getKeys() {
                return keys;
            }

            public void setKeys(Object keys) {
                this.keys = keys;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getView() {
                return view;
            }

            public void setView(String view) {
                this.view = view;
            }

            public String getComment() {
                return comment;
            }

            public void setComment(String comment) {
                this.comment = comment;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public int getPraise() {
                return praise;
            }

            public void setPraise(int praise) {
                this.praise = praise;
            }

            public int getToUid() {
                return toUid;
            }

            public void setToUid(int toUid) {
                this.toUid = toUid;
            }

            public String getTypename() {
                return typename;
            }

            public void setTypename(String typename) {
                this.typename = typename;
            }
        }
    }
}
